bitkeeper revision 1.1159.212.118 (420808adQbNXWTSEhY2Rqu5ALqDF5Q)
authoriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>
Tue, 8 Feb 2005 00:32:45 +0000 (00:32 +0000)
committeriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>
Tue, 8 Feb 2005 00:32:45 +0000 (00:32 +0000)
commitfe5c36a66a9a474a3a8435b397c88a78c6820589
tree20f330222888a3b2a63658ddd59bd736c699c578
parentd3fda59bccc8503fe7a6fdd3aced00e1822f4764
bitkeeper revision 1.1159.212.118 (420808adQbNXWTSEhY2Rqu5ALqDF5Q)

- Detect the CPU speed automatically, rather than having the user
  specify a ips in bochsrc. The user can still specify it to override
  the auto-detected value.

- Care should be taken to make sure that tsc_per_bx_tick is not too
  small or too big. Otherwise, numerical precision issues may result
  in the wrong calculation of elapsed time

Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
tools/examples/bochsrc
tools/ioemu/include/pc_system.h
tools/ioemu/iodev/cpu.cc
tools/ioemu/iodev/pc_system.cc